Empirical likelihood for a one sample mean vector hypothesis testing: Empirical likelihood for a one sample mean vector hypothesis testing
Description
Empirical likelihood for a one sample mean vector hypothesis testing.
Usage
el.test1(x, mu, R = 1, ncores = 1, graph = FALSE)
Arguments
x
A matrix containing Euclidean data.
mu
The hypothesized mean vector.
R
If R is 1 no bootstrap calibration is performed and the classical p-value via the \(\chi^2\) distribution is returned. If R is greater than 1, the bootstrap p-value is returned.
ncores
The number of cores to use, set to 1 by default.
graph
A boolean variable which is taken into consideration only when bootstrap calibration is performed. IF TRUE the histogram of the bootstrap test statistic values is plotted.
Value
A list with the outcome of the function el.test which includes
the -2 log-likelihood ratio, the observed P-value by chi-square approximation, the final value of Lagrange multiplier \(\lambda\),
the gradient at the maximum, the Hessian matrix, the weights on the observations (probabilities multiplied by the sample size) and the number of iteration performed.
In addition the runtime of the procedure is reported. In the case of bootstrap, the bootstrap p-value is also returned.
Details
Multivariate hypothesis test for a one sample mean vector. This is a non parametric test and it works for univariate and multivariate data.
References
Owen, A. (1990). Empirical likelihood ratio confidence regions. Annals of Statistics, 18, 90-120.
Owen A. B. (2001). Empirical likelihood. Chapman and Hall/CRC Press.